<script setup>
import User from './components/User.vue'
import AIChat from "@/components/AIChat.vue";
import {ref} from "vue";
const change = ref(0)
function doChange(){
  change.value += 1
  change.value %= 2
}
</script>

<template>
  <main>
    <button @click="doChange">change</button>
    <div v-if="change === 0">
      <AIChat />
    </div>
    <div v-if="change === 1">
      <User />
    </div>
  </main>
</template>

<style scoped>

</style>
